﻿<%@ Page Language="C#" MasterPageFile="~/Manager/Manager.master" AutoEventWireup="true" CodeFile="ReportPosting.aspx.cs" Inherits="Manager_ReportPosting" Title="Report Posting" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2.Export, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView.Export" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

        .style6
        {
            width: 116px;
        }
        .style5
        {
            width: 162px;
        }
        .style7
        {
            width: 126px;
        }
        </style>
    <style type="text/css">

        .style10
        {
            width: 60px;
        }
        .style6
        {
            width: 116px;
        }
        .style5
        {
            width: 162px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <p>
        <table style="width:100%;">
            <tr>
                <td>
                    <table style="width:100%;">
                        <tr>
                            <td class="style7">
                                <dx:ASPxButton ID="btExportPDF" runat="server" 
                                    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                                    onclick="btExportPDF_Click1" 
                                    SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Text="Export to PDF" 
                                    Width="128px">
                                </dx:ASPxButton>
                            </td>
                            <td class="style6">
                                <dx:ASPxButton ID="btExportXLS" runat="server" 
                                    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                                    onclick="btExportXLS_Click" 
                                    SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Text="Export to XLS" 
                                    Width="128px">
                                </dx:ASPxButton>
                            </td>
                            <td class="style5">
                                <dx:ASPxButton ID="btExportXLSX" runat="server" 
                                    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                                    onclick="btExportXLSX_Click" 
                                    SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" 
                                    Text="Export to XLSX" Width="128px">
                                </dx:ASPxButton>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                </td>
            </tr>
            </table>
            </tr>
            <tr>
                <td>
                    <dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" 
                        CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                        DataSourceID="SqlDataSource2">
                        <Columns>
                            <dx:GridViewDataTextColumn FieldName="AdmissionID" ReadOnly="True" 
                                VisibleIndex="0">
                                <EditFormSettings Visible="False" />
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="StudentID" VisibleIndex="1">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ClassID" VisibleIndex="2">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="CourseID" VisibleIndex="3">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataDateColumn FieldName="Admission_Date" VisibleIndex="4">
                            </dx:GridViewDataDateColumn>
                            <dx:GridViewDataCheckColumn FieldName="Achieve" VisibleIndex="5">
                            </dx:GridViewDataCheckColumn>
                        </Columns>
                        <images spritecssfilepath="~/App_Themes/DevEx/{0}/sprite.css">
                            <loadingpanelonstatusbar url="~/App_Themes/DevEx/GridView/StatusBarLoading.gif">
                            </loadingpanelonstatusbar>
                            <loadingpanel url="~/App_Themes/DevEx/GridView/Loading.gif">
                            </loadingpanel>
                        </images>
                        <imagesfiltercontrol>
                            <loadingpanel url="~/App_Themes/DevEx/GridView/Loading.gif">
                            </loadingpanel>
                        </imagesfiltercontrol>
                        <styles cssfilepath="~/App_Themes/DevEx/{0}/styles.css" csspostfix="DevEx">
                            <header imagespacing="5px" sortingimagespacing="5px">
                            </header>
                            <loadingpanel imagespacing="5px">
                            </loadingpanel>
                        </styles>
                        <styleseditors buttoneditcellspacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </styleseditors>
                    </dx:ASPxGridView>
                </td>
            </tr>
            </table>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:Institte_of_Fine_ArtsConnectionString %>" 
            SelectCommand="SELECT * FROM [Admission_Details]"></asp:SqlDataSource>
        <dx:ASPxGridViewExporter ID="gvExportReport" runat="server">
        </dx:ASPxGridViewExporter>
    </p>
    </asp:Content>

